<?php

//判断是否来自场景体,底部菜单不变
if($_RQ['plugin_name']){
	$this->session('plugin_name',$_RQ['plugin_name']);
}
$plugin_name=$this->session('plugin_name')?$this->session('plugin_name'):'';
if($plugin_name && $plugin_name!='core'){
	$return['footernav']=$this->plugin($plugin_name)->plugin_setting('basic')['footernav'];
}
$return['pluginset']=$this->plugin_setting('setting');
$this->model('task')->orderup();
$info=pdo_get('jy_cxjxiche_worker',array('mid'=>$_SESSION['uid'],'status'=>1));
if(!$info){
	$_SESSION['role']='1';
}else{
	$_SESSION['role']='2';
}
$return['role']=$_SESSION['role'];
$return['sharedata']=array(
		'title'=>$return['pluginset']['share_title']?:'预约洗车',
		'desc'=>$return['pluginset']['desc_title']?:'预约洗车，快来看看吧',
		'link'=>custom_url('jy_cxjxiche/index/',true),
		'imgUrl'=>tomedia($return['pluginset']['share_image']),
);
?>